package com.cf.studiomanage.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;

@Data
@Schema(description = "用户实体")
public class User {

    @Schema(description = "用户ID")
    private Long id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "头像地址")
    private String avatarUrl;

    @Schema(description = "个人简介")
    private String introduction;

    @Schema(description = "技能标签（逗号分隔）")
    private String skillTags;

    @Schema(description = "角色（USER 或 ADMIN）")
    private String role;

    @Schema(description = "状态（ACTIVE 或 INACTIVE）")
    private String status;

    @Schema(description = "注册时间")
    private Timestamp createdAt;
}
